﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020012A7 RID: 4775
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SwordTrainingRestoreGameScRsp : IMessage<SwordTrainingRestoreGameScRsp>, IMessage, IEquatable<SwordTrainingRestoreGameScRsp>, IDeepCloneable<SwordTrainingRestoreGameScRsp>, IBufferMessage
	{
		// Token: 0x17003C71 RID: 15473
		// (get) Token: 0x0600D609 RID: 54793 RVA: 0x0023F367 File Offset: 0x0023D567
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SwordTrainingRestoreGameScRsp> Parser
		{
			get
			{
				return SwordTrainingRestoreGameScRsp._parser;
			}
		}

		// Token: 0x17003C72 RID: 15474
		// (get) Token: 0x0600D60A RID: 54794 RVA: 0x0023F36E File Offset: 0x0023D56E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SwordTrainingRestoreGameScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003C73 RID: 15475
		// (get) Token: 0x0600D60B RID: 54795 RVA: 0x0023F380 File Offset: 0x0023D580
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SwordTrainingRestoreGameScRsp.Descriptor;
			}
		}

		// Token: 0x0600D60C RID: 54796 RVA: 0x0023F387 File Offset: 0x0023D587
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingRestoreGameScRsp()
		{
		}

		// Token: 0x0600D60D RID: 54797 RVA: 0x0023F390 File Offset: 0x0023D590
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingRestoreGameScRsp(SwordTrainingRestoreGameScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.iDJGHDKAOOD_ = ((other.iDJGHDKAOOD_ != null) ? other.iDJGHDKAOOD_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D60E RID: 54798 RVA: 0x0023F3DC File Offset: 0x0023D5DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingRestoreGameScRsp Clone()
		{
			return new SwordTrainingRestoreGameScRsp(this);
		}

		// Token: 0x17003C74 RID: 15476
		// (get) Token: 0x0600D60F RID: 54799 RVA: 0x0023F3E4 File Offset: 0x0023D5E4
		// (set) Token: 0x0600D610 RID: 54800 RVA: 0x0023F3EC File Offset: 0x0023D5EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17003C75 RID: 15477
		// (get) Token: 0x0600D611 RID: 54801 RVA: 0x0023F3F5 File Offset: 0x0023D5F5
		// (set) Token: 0x0600D612 RID: 54802 RVA: 0x0023F3FD File Offset: 0x0023D5FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EPEDODHJOJF IDJGHDKAOOD
		{
			get
			{
				return this.iDJGHDKAOOD_;
			}
			set
			{
				this.iDJGHDKAOOD_ = value;
			}
		}

		// Token: 0x0600D613 RID: 54803 RVA: 0x0023F406 File Offset: 0x0023D606
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SwordTrainingRestoreGameScRsp);
		}

		// Token: 0x0600D614 RID: 54804 RVA: 0x0023F414 File Offset: 0x0023D614
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SwordTrainingRestoreGameScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.IDJGHDKAOOD, other.IDJGHDKAOOD) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D615 RID: 54805 RVA: 0x0023F464 File Offset: 0x0023D664
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.iDJGHDKAOOD_ != null)
			{
				num ^= this.IDJGHDKAOOD.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D616 RID: 54806 RVA: 0x0023F4B9 File Offset: 0x0023D6B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D617 RID: 54807 RVA: 0x0023F4C1 File Offset: 0x0023D6C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D618 RID: 54808 RVA: 0x0023F4CC File Offset: 0x0023D6CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.Retcode);
			}
			if (this.iDJGHDKAOOD_ != null)
			{
				output.WriteRawTag(90);
				output.WriteMessage(this.IDJGHDKAOOD);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D619 RID: 54809 RVA: 0x0023F528 File Offset: 0x0023D728
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.iDJGHDKAOOD_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.IDJGHDKAOOD);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D61A RID: 54810 RVA: 0x0023F580 File Offset: 0x0023D780
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SwordTrainingRestoreGameScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.iDJGHDKAOOD_ != null)
			{
				if (this.iDJGHDKAOOD_ == null)
				{
					this.IDJGHDKAOOD = new EPEDODHJOJF();
				}
				this.IDJGHDKAOOD.MergeFrom(other.IDJGHDKAOOD);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D61B RID: 54811 RVA: 0x0023F5E8 File Offset: 0x0023D7E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D61C RID: 54812 RVA: 0x0023F5F4 File Offset: 0x0023D7F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 80U)
				{
					if (num != 90U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.iDJGHDKAOOD_ == null)
						{
							this.IDJGHDKAOOD = new EPEDODHJOJF();
						}
						input.ReadMessage(this.IDJGHDKAOOD);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400557C RID: 21884
		private static readonly MessageParser<SwordTrainingRestoreGameScRsp> _parser = new MessageParser<SwordTrainingRestoreGameScRsp>(() => new SwordTrainingRestoreGameScRsp());

		// Token: 0x0400557D RID: 21885
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400557E RID: 21886
		public const int RetcodeFieldNumber = 10;

		// Token: 0x0400557F RID: 21887
		private uint retcode_;

		// Token: 0x04005580 RID: 21888
		public const int IDJGHDKAOODFieldNumber = 11;

		// Token: 0x04005581 RID: 21889
		private EPEDODHJOJF iDJGHDKAOOD_;
	}
}
